package com.masterclient.app.modules.aftersale.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.aftersale.ShipmentsBean;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/8/27 16:00
 * 功能说明：
 */

public interface AddReturnLogistContract {

    interface View extends BaseView {
      void showShipmnets(List<ShipmentsBean.DataBean.ShShipmentCompanysBean> list);
        void showSuccess(String msg);
        void showResult(boolean isSuccess, String msg);
    }
    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {
        }

        public abstract void getShipmentItems();
        public abstract void setAfterSalesShipment(String company,String order_product_id,String track_no,String code);
        public abstract void orderShipment(String order_express_id, String track_no, String carrier_code);
        public abstract void setAfterSalesPurchaseShipment(String refund_id,String company,String code,String track_no);
    }
}